package nc.ui.med.bd.mcm.chnlmanager;

import nc.bs.med.pub.constant.IChnlManagerConstant;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.ui.trade.treemanage.AbstractTreeManageController;
import nc.vo.med.bd.mcm.chnlmanager.ChnlBillVO;
import nc.vo.med.bd.mcm.chnlmanager.ChnlComVO;
import nc.vo.med.bd.mcm.chnlmanager.ChnlManagerVO;
import nc.vo.med.bd.mcm.chnlmanager.ChnlMonVO;
import nc.vo.med.bd.mcm.chnlmanager.ChnlQuaVO;
import nc.vo.med.bd.mcm.chnlmanager.ChnlYearVO;

public class ClientCtrl extends AbstractTreeManageController {

	public String getBillType() {
		return IChnlManagerConstant.BILLTYPE;
	}
	
	public int[] getCardButtonAry() {

		int[] cardButtonAry = null;
		cardButtonAry = new int[] { 
			IBillButton.Add, 
			IBillButton.Edit, 
			IBillButton.Save,
			IBillButton.Query,
			IBillButton.Cancel,
			IBillButton.Line,
			IBillButton.Delete,
			IBillButton.Refresh, 
			IBillButton.Print, 
			IBillButton.Return 
		};

		return cardButtonAry;
	}

	public int[] getListButtonAry() {
		return new int[] {
				IBillButton.Edit,
				IBillButton.Delete,
				IBillButton.Query,
				IBillButton.Refresh,
				IBillButton.Print,
				IBillButton.Card
		};
	}
	public String[] getBillVoName() {
		return new String[] { 
			ChnlBillVO.class.getName(),
			ChnlManagerVO.class.getName(), 
			ChnlMonVO.class.getName(),
			ChnlQuaVO.class.getName(),
			ChnlYearVO.class.getName(),
			ChnlComVO.class.getName()
		};
	}
	
	public String getPkField() {
		return IChnlManagerConstant.TABLEKEY;
	}

	public boolean isAutoManageTree() {
		return true;
	}

	public boolean isTableTree() {
		return false;
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return false;
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return null;
	}

	public String getHeadZYXKey() {
		return IChnlManagerConstant.TABLEKEY;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return false;
	}

}
